package com.xywl.escort.view.order.submit;

import com.xywl.escort.base.BasePresenter;
import com.xywl.escort.base.BaseView;
import com.xywl.escort.bean.BaseReq;
import com.xywl.escort.bean.BaseResp;
import com.xywl.escort.bean.DefaultResp;
import com.xywl.escort.bean.SubmitOrderReq;
import com.xywl.escort.bean.SubmitOrderResp;
import com.xywl.escort.bean.UserFundInfoResp;

public interface SubmitOrderContract {

    interface Presenter extends BasePresenter {
        void takeView(SubmitOrderContract.View view);

        void loadAddrDefault();

        void submitOrder(SubmitOrderReq req);
    }

    interface View extends BaseView<Presenter> {

        void loadAddrSuccess(DefaultResp resp);

        void loadAddrFailure();

        void submitOrderSuccess(SubmitOrderResp.DataBean dataBean);

        void submitOrderFailure(String msg);
    }
}
